package com.swxy.club.dto.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 易
 */

@Data
@ApiModel(description = "用户登入请求体")
public class LoginUserBO {

    @ApiModelProperty(value = "账号", required = true, example = "1000001")
    @NotNull(message = "账号不能为空")
    private String number;

    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true, example = "123456")
    private String password;

    @NotNull(message = "验证码不能为空")
    private String verifyCode;

    private boolean remember;

}
